package {
	import flash.display.Shape;
	import flash.display.Sprite;
	import flash.text.TextField;
	public class AS3Cookbook extends Sprite
	{
		public function AS3Cookbook()
		// Comment
		{
			var hello:TextField = new TextField();
 			var spriteTest:Sprite = new Sprite();  
 			var circle:CustomClass = new CustomClass();
 			
 			var redCircle:CustomClass = new CustomClass();
 			var greenCircle:CustomClass = new CustomClass();
 			var blueCircle:CustomClass = new CustomClass(); 
 			
 			
 			
			hello.text = "puto";
			
			addChild(hello);	
			addChild(spriteTest);
			spriteTest.addChild(redCircle.getCircle(110, 90, 20, 0xFF0000));
			spriteTest.addChild(blueCircle.getCircle(100, 80, 20, 0x00FF00));
			spriteTest.addChild(greenCircle.getCircle(120, 80, 20, 0x0000FF)); 
						
		} 
	}
}
